package com.ks.service;

import com.ks.entity.Examinee;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ks.base.BaseService;
import com.ks.dao.ExamineeDao;

import java.util.List;
import java.util.Map;

@Service("examineeService")
public class ExamineeService<T> extends BaseService<T> {
    private final static Logger log = Logger.getLogger(ExamineeService.class);

    @Autowired
    private ExamineeDao<T> dao;

    public ExamineeDao<T> getDao() {
        return dao;
    }

    public List<Examinee> findByUserId(Map<String,Object> map){
        return dao.findByUserId(map);
    }

}
